package com.siwei.mes.entity.erp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * ERP-生产任务(Rwdextra)实体类
 *
 * @author linzi
 * @since 2024-07-29 16:13:33
 */
@Data
@Accessors(chain = true)
@Table(name = "rwdextra")
@ApiModel(value = "Rwdextra", description = "ERP-生产任务")
public class Rwdextra implements Serializable {
    private static final long serialVersionUID = 633003376387231080L;
    @Column(name = "EID")
    @ApiModelProperty(value = "${column.comment}", name = "eid")
    private Integer eid;
    /**
     * 任务单id
     */
    @Column(name = "FRwdh")
    @ApiModelProperty(value = "任务单id", name = "frwdh")
    private Integer frwdh;
    /**
     * 任务单额外信息
     */
    @Column(name = "extrainfo")
    @ApiModelProperty(value = "任务单额外信息", name = "extrainfo")
    private String extrainfo;
    @Column(name = "skipPlans")
    @ApiModelProperty(value = "${column.comment}", name = "skipplans")
    private String skipplans;
    /**
     * 生产方量
     */
    @Column(name = "scQuantity")
    @ApiModelProperty(value = "生产方量", name = "scquantity")
    private Float scquantity;
    @Column(name = "sjQuantity")
    @ApiModelProperty(value = "${column.comment}", name = "sjquantity")
    private Float sjquantity;
    /**
     * 实际总发货数
     */
    @Column(name = "fhQuantity")
    @ApiModelProperty(value = "实际总发货数", name = "fhquantity")
    private Float fhquantity;
    /**
     * 总累计发货量（含排车）
     */
    @Column(name = "totalQuantity")
    @ApiModelProperty(value = "总累计发货量（含排车）", name = "totalquantity")
    private Float totalquantity;
    /**
     * 实际生产到最大车次
     */
    @Column(name = "finishCarNumber")
    @ApiModelProperty(value = "实际生产到最大车次", name = "finishcarnumber")
    private Integer finishcarnumber;
    /**
     * 排车的最大车次
     */
    @Column(name = "totalCarNumber")
    @ApiModelProperty(value = "排车的最大车次", name = "totalcarnumber")
    private Integer totalcarnumber;
    /**
     * 签收方量
     */
    @Column(name = "qrQuantity")
    @ApiModelProperty(value = "签收方量", name = "qrquantity")
    private Float qrquantity;
    @Column(name = "searchKey")
    @ApiModelProperty(value = "关键字", name = "searchkey")
    private String searchkey;
    /**
     * 首字母
     */
    @Column(name = "initial")
    @ApiModelProperty(value = "首字母", name = "initial")
    private String initial;
    /**
     * 自定义发货方量（包括排车）
     */
    @Column(name = "customFinishQuantity")
    @ApiModelProperty(value = "自定义发货方量（包括排车）", name = "customfinishquantity")
    private Float customfinishquantity;
    /**
     * 最近排车时间
     */
    @Column(name = "currentPcTime")
    @ApiModelProperty(value = "最近排车时间", name = "currentpctime")
    private Date currentpctime;
    /**
     * 创建时间
     */
    @Column(name = "createTime")
    @ApiModelProperty(value = "创建时间", name = "createtime")
    private Date createtime;
    /**
     * 修改时间
     */
    @Column(name = "updateTime")
    @ApiModelProperty(value = "修改时间", name = "updatetime")
    private Date updatetime;
    /**
     * 计划时间
     */
    @Column(name = "planTime")
    @ApiModelProperty(value = "计划时间", name = "plantime")
    private Date plantime;
    /**
     * 计划方量
     */
    @Column(name = "planQuantity")
    @ApiModelProperty(value = "计划方量", name = "planquantity")
    private Float planquantity;
    /**
     * 0-作废 1-不可生产 2-生产中 3-生产完成
     */
    @Column(name = "state")
    @ApiModelProperty(value = "0-作废 1-不可生产 2-生产中 3-生产完成", name = "state")
    private Integer state;
    /**
     * 砼行任务单id
     */
    @Column(name = "THTaskId")
    @ApiModelProperty(value = "砼行任务单id", name = "thtaskid")
    private Integer thtaskid;
    @Column(name = "sgphbId")
    @ApiModelProperty(value = "${column.comment}", name = "sgphbid")
    private Integer sgphbid;
    @Column(name = "sjphbId")
    @ApiModelProperty(value = "${column.comment}", name = "sjphbid")
    private Integer sjphbid;
    @Column(name = "phbSearchKey")
    @ApiModelProperty(value = "${column.comment}", name = "phbsearchkey")
    private String phbsearchkey;
    @Column(name = "moreInfo")
    @ApiModelProperty(value = "${column.comment}", name = "moreinfo")
    private String moreinfo;
    @Column(name = "tbj")
    @ApiModelProperty(value = "${column.comment}", name = "tbj")
    private String tbj;
    /**
     * 销售经理
     */
    @Column(name = "saler")
    @ApiModelProperty(value = "销售经理", name = "saler")
    private String saler;
    /**
     * 可签收人
     */
    @Column(name = "signatory")
    @ApiModelProperty(value = "可签收人", name = "signatory")
    private String signatory;
    /**
     * 销售商
     */
    @Column(name = "seller")
    @ApiModelProperty(value = "销售商", name = "seller")
    private String seller;
    /**
     * 打印容重
     */
    @Column(name = "printrz")
    @ApiModelProperty(value = "打印容重", name = "printrz")
    private Float printrz;
    @Column(name = "redReason")
    @ApiModelProperty(value = "${column.comment}", name = "redreason")
    private String redreason;
    /**
     * 泵车型号
     */
    @Column(name = "pumpType")
    @ApiModelProperty(value = "泵车型号", name = "pumptype")
    private String pumptype;
    /**
     * 新中大订单编号
     */
    @Column(name = "billNo")
    @ApiModelProperty(value = "新中大订单编号", name = "billno")
    private String billno;
    /**
     * 要料速度
     */
    @Column(name = "askingSpeed")
    @ApiModelProperty(value = "要料速度", name = "askingspeed")
    private Float askingspeed;
    /**
     * 泵车说明
     */
    @Column(name = "pumpKind")
    @ApiModelProperty(value = "泵车说明", name = "pumpkind")
    private String pumpkind;
    /**
     * 泵车编号
     */
    @Column(name = "pumpCarNumber")
    @ApiModelProperty(value = "泵车编号", name = "pumpcarnumber")
    private String pumpcarnumber;

    @Column(name = "phbshowid")
    @ApiModelProperty(value = "施工配比id（品控）")
    private Integer phbshowid;

    @Column(name = "phbshow")
    @ApiModelProperty(value = "施工配比编号（品控）")
    private String phbshow;

    @Transient
    @ApiModelProperty(value = "ERP任务单扩展信息 对象")
    private RwdextraInfo rwdextraInfo;

    @Transient
    @ApiModelProperty(value = "品控任务单扩展信息")
    private RwdextraExtend rwdextraExtend;

    /**
     * 工程名称
     */
    @Transient
    @ApiModelProperty(value = "修改后工程名称", name = "projectNameNew")
    private String projectNameNew;
    /**
     * 合同名称
     */
    @Transient
    @ApiModelProperty(value = "修改后合同名称", name = "contractNameNew")
    private String contractNameNew;
    /**
     * 施工单位
     */
    @Transient
    @ApiModelProperty(value = "修改后施工单位", name = "buildNameNew")
    private String buildNameNew;

    @Transient
    @ApiModelProperty(value = "联系人", name = "projectlinkman")
    private String projectLinkMan;
    /**
     * 联系人电话
     */
    @Transient
    @ApiModelProperty(value = "联系人电话", name = "projectlinktel")
    private String projectLinkTel;
    /**
     * 是否有工单异常
     */
    @Transient
    @ApiModelProperty(value = "是否有工单异常 0否 1是", name = "isexcep")
    private Long isexcep;

    @Transient
    @ApiModelProperty(value = "工程区域")
    private String projectArea;

    @Transient
    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @Transient
    @ApiModelProperty(value = "任务单号")
    private String frwno;

    @Transient
    @ApiModelProperty(value = "任务状态")
    private String fzt;

    @Transient
    @ApiModelProperty(value = "任务状态集合")
    private List<String> fztList;

    @Transient
    @ApiModelProperty(value = "打印状态  1-已打印  0-未打印")
    private Integer printStatus;

    @Transient
    @ApiModelProperty(value = "协会任务单id")
    private String produceId;

    @Transient
    @ApiModelProperty(value = "协会编号")
    private String produceIndexId;

    @Transient
    @ApiModelProperty(value = "委托编号")
    private String consignId;

    @Transient
    @ApiModelProperty(value = "实时统计的小票代表数量")
    private float countItemorderBehalfNumber;

    @Transient
    @ApiModelProperty(value = "配合比模糊查询", name = "fphbNo")
    private String fphbNo;


    @Transient
    @ApiModelProperty(value = "计划开始时间")
    private String plantimeStart;

    @Transient
    @ApiModelProperty(value = "计划结束时间")
    private String plantimeEnd;

    @Transient
    @ApiModelProperty(value = "是否增补资料  0-否 1-是")
    private Integer isAddInformation;

    @Transient
    @ApiModelProperty(value = "鉴定日期")
    private Date appraisalDate;

    @Transient
    @ApiModelProperty(value = "浇筑部位")
    private String jzbw;

    @Transient
    @ApiModelProperty(value = "强度等级")
    private String qddj;

    @Transient
    @ApiModelProperty(value = "强度等级集合")
    private List<String> qddjList;

    @Transient
    @ApiModelProperty(value = "合同编号")
    private String htbh;

    @Transient
    @ApiModelProperty(value = "计划方量最小阈值")
    private Float planQuantityMix;

    @Transient
    @ApiModelProperty(value = "计划方量最大阈值")
    private Float planQuantityMax;

    @Transient
    @ApiModelProperty(value = "生产方量最小阈值")
    private Float scQuantityMix;

    @Transient
    @ApiModelProperty(value = "生产方量最大阈值")
    private Float scQuantityMax;

    @Transient
    @ApiModelProperty(value = "粗骨料规格")
    private String cglSpec;

    @Transient
    @ApiModelProperty(value = "已读时间")
    private Date readTime;

}
